//基于vue的插件
import MyBread from '@/components/my-bread'
import MyChannel from '@/components/my-channel'
import MyImage from '@/components/my-image'
export default{
      //在main.js使用Vue.use（当前插件）
    install(vue){
      //使用Vue对象扩展功能
vue.component(MyBread.name,MyBread)
vue.component(MyChannel.name,MyChannel)
vue.component(MyImage.name,MyImage)
    }
}